home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ CMD Options 1.xpl
< prev
next >
Wrap
Text File
|
2002-01-04
|
1KB
|
48 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="System\Security\Disabled Features"
"NAME"="DOS Box Enabled"
"VERSION"="1.10"
"OSVERSION"="10101"
"LANGUAGE"="VBScript"
"TEXT 1"="Current User allowed to start a DOS Box"
"DESCRIPTION 1"="If this option is not checked, the current user is no longer allowed to start a DOS box (COMMAND.COM)."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
sPath="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp\Disabled"
Sub Plugin_Initialize
i=RegReadValue(sPath)
if i=0 or IsEmpty(i) then
Call SetUIElement(1,true)
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=false then
Call RegWriteValue(sPath,1,2)
else
s=RegReadValue(sPath)
if IsEmpty(s)=false then
Call RegDeleteValue(sPath)
end if
end if
End Sub
Sub Plugin_Terminate
End Sub